<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>iframetest</title>
</head>
<body>
	<div>hello world</div>
	<iframe height=498 width=510 src='http://cache.tv.qq.com/qqplayerout.swf?vid=k002305vsy4' frameborder=0 'allowfullscreen'></iframe>
	<button id="btnFullScreen">click me </button>

	<script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript">
		 $("#btnFullScreen").click(function () {
            window.open('http://cache.tv.qq.com/qqplayerout.swf?vid=k002305vsy4', '视频播放', 'width=' + (window.screen.availWidth - 10) + ',height=' + (window.screen.availHeight - 30) + ',top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
        });
	</script>
</body>
</html>